package com.lukebang.TEST;

import java.util.List;

import org.junit.Test;

import com.lukebang.util.redis.JedisPoolUtils;

import redis.clients.jedis.Jedis;

/**
 * 
 * RedisTest 下午4:40:50
 * 
 * Copyright zhaocj Inc. All rights reserved. Love ME Like Justin Bieber.
 */
public class RedisTest {
	@Test
	public void test1() {
		Jedis jedis = JedisPoolUtils.getJedis();
		jedis.select(2);
		List<String> lrange = jedis.lrange("1496393589045ekrr2cg94m0c32m5p5hl54", 0, -1);
		System.out.println("打印数据");
		for (String string : lrange) {
			System.out.println("打印数据");
			System.out.println(string);
		}
		JedisPoolUtils.close(jedis);
	}
}
